package com.education.online.mapper;


import com.education.online.pojo.OLiveVideo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 职业达人视频表 数据层
 *
 * @author d
 * @date 2020-06-04 15:17:49
 */
@Repository
public interface OLiveVideoMapper {


    //我的收藏
    public List<OLiveVideo> selectOLiveVideoByUserId(Integer userID);

    //查询职业达人视频表信息
    public OLiveVideo selectOLiveVideoById(Integer id);

    // 查询职业达人视频表列表
    public List<OLiveVideo> selectOLiveVideoList(OLiveVideo oLiveVideo);

    // 新增职业达人视频表
    public int insertOLiveVideo(OLiveVideo oLiveVideo);

    //修改职业达人视频表
    public int updateOLiveVideo(OLiveVideo oLiveVideo);

    //删除职业达人视频表
    public int deleteOLiveVideoById(Integer id);

    // 批量删除职业达人视频表
    public int deleteOLiveVideoByIds(String[] ids);
}